package com.bootdo.system.controller;

import com.bootdo.system.domain.FrontuserDO;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

import javax.servlet.http.HttpServletRequest;

@Controller
public class testcontroller extends  BaseController{

    @GetMapping("/testperson")
    public String testperson(HttpServletRequest request){

        FrontuserDO userDO = getUserDO(request);

        request.setAttribute("userDO", userDO);

        request.setAttribute("active", "5");

        return "testperson";
    }
}
